import { httpRequest } from "@/utils/https.js"
import {baseUrl} from "@/utils/basic.js"

//订单列表
export const orderIndex = (username) =>
	httpRequest(baseUrl+'index.php?m=api&c=wxapp&a=orderIndex', {
        username
	},'get')
//订单详情
export const orderInfo = (username,id) =>
	httpRequest(baseUrl+'index.php?m=api&c=wxapp&a=orderInfo', {
        username,
        id
	},'get')